//
//  TPLoginViewModel.h
//  Yimei
//
//  Created by xiaowu xiaowu on 2017/12/1.
//  Copyright © 2017年 xiaowu xiaowu. All rights reserved.
//

#import <Foundation/Foundation.h>

@interface TPLoginViewModel : NSObject
@property (nonatomic,copy)NSString *phone;
@property (nonatomic,copy)NSString *psw;
@property (nonatomic,copy)NSString *code;
@property (nonatomic,copy)NSString *name;


@property (nonatomic,strong)RACSignal *phoneSignal;
@property (nonatomic,strong)RACSignal *nameSignal;
@property (nonatomic,strong)RACSignal *pswSignal;
@property (nonatomic,strong)RACSignal *oldPswSignal;
@property (nonatomic,strong)RACSignal *codeSignal;


-(RACSignal *)validSigneSignal;//注册
-(RACSignal *)validLoginCodeSignal;//验证码登录
-(RACSignal *)validLoginSignal; //密码登录
@end
